from django.conf.urls import patterns, url

urlpatterns = patterns('circle.views',
        url(r'^$', 'index'), 

        url(r'^(?P<bang_id>\d+)/$', 'bang_detail'), 
        url(r'^add/$', 'create_bang'), 
        url(r'^latest/(?P<page_num>\d+)/$', 'latest_bang'), 
        url(r'^apply/(?P<bang_id>\d+)/$', 'bang_apply'), 
        url(r'^approve/(?P<bang_id>\d+)/$', 'bang_approve'), 
        url(r'^upload/$', 'upload_bang_image'), 

        url(r'^topic/add/(?P<bang_id>\d+)/$', 'add_topic'), 
        url(r'^topic/(?P<topic_id>\d+)/$', 'topic_detail'), 

        url(r'^topic/latest/(?P<page_num>\d+)/$', 'latest_topic'), 
        url(r'^topic/list/(?P<bang_id>\d+)/(?P<page_num>\d+)/$', 'topic_list'), 
)




